﻿using Application.Dto;
using Domain.Entitys;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Application.IAppSrevices
{
    public interface ICMKService
    {
        //新增
        Task<int> CMKAddAsync(CMKAddDto cMKAddDto);
        //删除
        Task<int> CMKDeleteAsync(int id);
        //分页查询
        Task<List<CMK>> CMKSelect(int pageIndex, int pageSize);
        //查询总条数
        int CMKSelectCount();
        //查询所有
        Task<List<CMK>> CMKSelectMax();
        
    }
}
